package 面向对象_下.i抽象类和抽象方法.练习;

/**
 * @Projectname java_based
 * @Filename EmployeeTest
 * @Author an
 * @Data 2022/7/5 9:09
 * @Description TODO
 */
/*
 * 请使用继承的思想，设计 CommonEmployee 类和 Manager 类，要求类中必须提供必要的方法进行属性访问
 */
public class EmployeeTest {
    public static void main(String[] args) {

        Employee manager = new Manager("库克",1001,5000,50000);

        manager.work();

        CommonEmployee commonEmployee = new CommonEmployee();
        commonEmployee.work();
    }
}
